package com.itheima.ydd.pojo;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;

/**
 * 前端-用户相关
 */
@Data
public class YddUserData {

    private Integer id;

    //文章id
    @JsonProperty("article_id")
    private Integer articleId;

    //用户id
    @JsonProperty("user_id")
    private Integer userId;

    //1表示记录收藏,2表示记录点赞
    private Integer type;
}
